﻿/**
 * ud2-message.less
 * 浮动消息控件的默认样式
 */

// 导入必要的文件
@import "../../../common/import.less";

.ud2-message {
	position: fixed;
	z-index: @MaxZIndex + 2;
	opacity: 0;
	visibility: hidden;
	max-width: 80%;
	
	.transition(visibility .2s, opacity .2s, top ease-out .2s, bottom ease-out .2s);

	&.on {
		visibility: visible;
		opacity: 1;
	}

	.message-content {
		.textOverflow();
	}
}